package com.zhiyizhen.handheld.component.main.bean;

import androidx.annotation.NonNull;

import com.zhiyizhen.handheld.common.base.BaseBean;

import java.io.Serial;

/**
 * description 
 * @author dahu \n
 * create at 2025-09-10 11:15
 */
public class EnumFieldBean extends BaseBean {
    @Serial
    private static final long serialVersionUID = 7081196131431605310L;
    private String text;  // 对应"一级"、"二级"等文本
    private String value; // 对应"1"、"2"等值

    public EnumFieldBean() {}

    public String getText() {
        return text;
    }

    public String getValue() {
        return value;
    }

    @NonNull
    @Override
    public String toString() {
        return "MedicalFieldLevel{text='" + text + "', value='" + value + "'}";
    }
}
